#include "problems/88.h"
#include "gtest/gtest.h"

TEST(TestProblemSolutions, TestProblem88)
{
    problem_88::Solution s;
    vector<int> nums1{1, 2, 3, 0, 0, 0};
    vector<int> nums2{2, 5, 6};
    s.merge(nums1, 3, nums2, 3);
    vector<int> ans{1, 2, 2, 3, 5, 6};
    for (int i = 0; i < ans.size(); ++i)
    {
        ASSERT_EQ(nums1[i], ans[i]);
    }
}